home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
pcboard
/
bcmx120.zip
/
RAND.DOC
< prev
next >
Wrap
Text File
|
1994-05-07
|
1KB
|
25 lines
RAND.PPE
This is a handy utility I created to be able to randomize display files.
I've made most menus/display files randomizable (as far as it seemed usefull
to me) through some .CFG file. If you still want some other display file
to select multiple (random) display files you can use this utility.
It accepts two parameters:
1 - The base name without a number (ie. BASE)
2 - The number of files to choose from (ie. 2).
The ppe chooses a random number between 1 and the second parameter and then
displays the file 'BASE<NUMBER>', where <NUMBER> is the random chosen number.
For example if you have created some extra (lets say 2) directory files (dir1
and dir2) for the dos matrix and want the matrix to display one randomly each
time just replace GRAPH\DIR with '!<PATH1>\RAND.PPE <PATH2>\DIR 2' (where PATH1
is the directory where RAND.PPE is and PATH2 the directory where DIR1 and DIR2
are).
If the display file (with number appended) is not found the RAND.PPE directory
is searched for the file, so you can put all the files in the same dir as
RAND.PPE.